/****************************************************************/
/*               DO NOT MODIFY THIS HEADER                      */
/* MOOSE - Multiphysics Object Oriented Simulation Environment  */
/*                                                              */
/*           (c) 2010 Battelle Energy Alliance, LLC             */
/*                   ALL RIGHTS RESERVED                        */
/*                                                              */
/*          Prepared by Battelle Energy Alliance, LLC           */
/*            Under Contract No. DE-AC07-05ID14517              */
/*            With the U. S. Department of Energy               */
/*                                                              */
/*            See COPYRIGHT for full restrictions               */
/****************************************************************/

#include "../../include/kernels/DisplaceDiffusion.h"

registerMooseObject("TrilobitaApp", DisplaceDiffusion);
template<>
InputParameters validParams<DisplaceDiffusion>()
{
  InputParameters p = validParams<Kernel>();
  return p;
}


DisplaceDiffusion::DisplaceDiffusion(const InputParameters & parameters) :
    Kernel(parameters)
{

}

DisplaceDiffusion::~DisplaceDiffusion()
{

}

Real
DisplaceDiffusion::computeQpResidual()
{
  return 8000*_grad_u[_qp] * _grad_test[_i][_qp];
}

Real
DisplaceDiffusion::computeQpJacobian()
{
  return 8000*_grad_phi[_j][_qp] * _grad_test[_i][_qp];
}
